int sensorPin1 = A0;    // select the input pin for the potentiometer
int sensorPin2 = A2;    // select the input pin for the potentiometer
int sensorPin3 = A4;    // select the input pin for the potentiometer
int ledPin = 13;      // select the pin for the LED
int sensorValue1[1024];  // variable to store the value coming from the sensor
int sensorValue2[1024];
int sensorValue3[1024];

void setup() {
  analogReadResolution(12);
  // declare the ledPin as an OUTPUT:
  Serial.begin(115200);
  pinMode(ledPin, OUTPUT);  
}

void loop() {
  // read the value from the sensor:
  //delay(10);
  
  //Serial.println("Starting to read data");
  digitalWrite(ledPin, HIGH);
  
  for (int i=0; i<1024; i++) {
    //Serial.println(i);
    sensorValue1[i] = analogRead(sensorPin1);    
    sensorValue2[i] = analogRead(sensorPin2);    
    sensorValue3[i] = analogRead(sensorPin3);  
  }
  //Serial.println("Stop");
  digitalWrite(ledPin, LOW);
   
  //Serial.println("Sensors ");
  Serial.println("BEGIN");
  for (int i=0; i<1024; i++) {
    Serial.print(sensorValue1[i]);
    Serial.print(" ");
    Serial.print(sensorValue2[i]);
    Serial.print(" ");
    Serial.println(sensorValue3[i]);
  }
  Serial.println("END");
}
